<?php
/*
+---------------------------------------------------------------------------
|   Arka-Tech Web Application v1.2.0
|   ========================================
|   by Christopher Hall
|   (c) 2009 Arka-Tech Productions
|   http://arka-tech.net
|   ========================================
|   Web: http://www.SITENAME.com
|   Time: Sat, 28 Feb 2009 9:05 AM
|   Release: RmVicnVhcnkgMjAwOSBMYXVuY2ggNA==
|   Email: ArkahnX@gmail.com
|   Licence Info: http://www.arka-tech.net/default.php?page=license
+---------------------------------------------------------------------------
*/

// CORE.inc.php
define('REAL_ROOTUSER',ROOTUSER);

// Update Office Support
if (strpos(realpath('./'),'\\')) {
	$xml = xml_xml2array(file_get_contents('./' . REAL_EYE_ROOT . '/' . SYSTEM_DIR . '/' . SYSTEM_CONF_DIR . '/system.xml'));
	$xml['CONFIG'][0]['OFFICE_COMMAND'][0] = 'C:\\Program Files\\OpenOffice.org 2.4\\program\\';
	$xml['CONFIG'][0]['OFFICE_SEPARATOR_ARG'][0] = '"';
	file_put_contents('./' . REAL_EYE_ROOT . '/' . SYSTEM_DIR . '/' . SYSTEM_CONF_DIR . '/system.xml',xml_array2xml($xml));
}
?>